Skip to content

Conversation

@lixiname
Copy link
Contributor

  • Replace legacy setup.py with standardized pyproject.toml
  • Follow PEP 517 (build system) and PEP 621 (metadata)
  • Use setuptools as build backend with modern configuration
  • add pyproject.toml file、test_setuptools.py file (a test scripts of toml)、Modify init.py file
    This improves dependency management, IDE support, and aligns with current Python packaging standards.

Copy link
Contributor

@rgaiacs rgaiacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a great start. All the tests are failing, probably because of the new test. Can change in the GitHub actions configuration be change to increase the version of Python to be used?

minrk added 4 commits October 21, 2025 22:02
removes:

- MANIFEST.in (handled by setuptools-scm)
- setup.py (declarative in pyproject.toml)
- versioneer (replaced with setuptools-scm)
- setup.cfg (was for versioneer)
@minrk minrk requested a review from rgaiacs October 22, 2025 05:15
# Conflicts:
#	.github/workflows/release.yml
@minrk
Copy link
Member

minrk commented Oct 22, 2025

@rgaiacs if you want to have a look, I think this might be ready now

Copy link
Contributor

@rgaiacs rgaiacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments. Looks good to me.

@rgaiacs
Copy link
Contributor

rgaiacs commented Oct 22, 2025

test (24.04, 3.13, conda) is taking too long to finish and failing.

@minrk
Copy link
Member

minrk commented Oct 22, 2025

That test normally takes about 15 minutes, so I think something's definitely wrong, but likely not related to this PR.

@minrk
Copy link
Member

minrk commented Oct 22, 2025

latest run succeeded in 12 minutes. We should probably have a per-test limit, though, to avoid this problem costing us 6 hours of CI time

@minrk minrk merged commit 6d46061 into jupyterhub:main Oct 22, 2025
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants